package com.rykj.energy.database.pojo.vo;

import com.rykj.energy.database.pojo.BasicCameraPresetting;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value="兼容设备摄像头信息", description="设备信息或摄像头信息")
public class DeviceVo implements Serializable {

    @ApiModelProperty("主键")
    private int id;

    @ApiModelProperty(value = "设备名称" )
    private String devAlias;

    @ApiModelProperty(value = "设备ip" )
    private String devIp;

    @ApiModelProperty(value = "设备登录用户名" )
    private String devUser;

    @ApiModelProperty(value = "密码" )
    private String devPwd;

    @ApiModelProperty(value = "设备品牌" )
    private String devBrand;

    @ApiModelProperty(value = "设备型号" )
    private String devModel;

    @ApiModelProperty(value = "设备端口号" )
    private Integer devPort;

    @ApiModelProperty(value = "RTSP端口" )
    private Integer rtspPort;

    @ApiModelProperty(value = "通道数" )
    private Integer devChannelNum;

    @ApiModelProperty(value = "设备序列号" )
    private String devNo;

    @ApiModelProperty(value = "设备类型，nvr" )
    private String devType;

    @ApiModelProperty(value = "摄像头类型,枪机，球机")
    private String camType;

    @ApiModelProperty("摄像头rtsp地址")
    private String rtspUrl;

    @ApiModelProperty(value = "照片路径")
    private String photoPath;

    @ApiModelProperty("描述简介")
    private String remark;

    @ApiModelProperty("摄像头设备id")
    private String  devId;

    @ApiModelProperty("摄像头在线离线状态，normal在线，offline离线")
    private String lineStatus;

    @ApiModelProperty(value = "区域id" )
    private Integer orgId;

    @ApiModelProperty(value = "设备状态：正常normal,删除deleted" )
    private String devStatus;

    @ApiModelProperty(value = "创建时间" )
    private Date createTime;

    @ApiModelProperty(value = "开启的任务")
    private String openTasks;

    @ApiModelProperty(value = "预置位信息" )
    private List<BasicCameraPresetting> presetting;
}
